package com.fanketly.funacg2.data.network

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
object NetworkModule {

    @Provides
    @Singleton
    fun bindsNetwork() = RetrofitNetwork()

//    @Provides
//    @Singleton
//    fun providesNetworkJson(): Json = Json {
//        ignoreUnknownKeys = true
//    }
}
